package org.libraq.hrm.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 课程目录
 * </p>
 *
 * @author nazhua
 * @since 2021-08-19
 */
public class CourseType1 {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long createTime;
    private Long updateTime;
    private String name;
    private Long pid;
    private String logo;
    private String description;
    private Integer sortIndex;
    private String path;
    private Integer totalCount;
    private List<CourseType1> children = new ArrayList<>();
    public List<CourseType1> getChildren() {
        return children;
    }
    public void setChildren(List<CourseType1> children) {
        this.children = children;
    }
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
    public Long getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Long getPid() {
        return pid;
    }
    public void setPid(Long pid) {
        this.pid = pid;
    }
    public String getLogo() {
        return logo;
    }
    public void setLogo(String logo) {
        this.logo = logo;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public Integer getSortIndex() {
        return sortIndex;
    }
    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }
    public String getPath() {
        return path;
    }
    public void setPath(String path) {
        this.path = path;
    }
    public Integer getTotalCount() {
        return totalCount;
    }
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
    @Override
    public String toString() {
        return "CourseType{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", name='" + name + '\'' +
                ", pid=" + pid +
                ", logo='" + logo + '\'' +
                ", description='" + description + '\'' +
                ", sortIndex=" + sortIndex +
                ", path='" + path + '\'' +
                ", totalCount=" + totalCount +
                ", children=" + children +
                '}';
    }
}
